<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'id'=>'aman-college-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="help-block">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<?php echo $form->textFieldRow($model,'college_name',array('class'=>'span5','maxlength'=>25)); ?>

	<?php echo $form->textFieldRow($model,'college_address',array('class'=>'span5','maxlength'=>45)); ?>

	<?php echo $form->textFieldRow($model,'college_address1',array('class'=>'span5','maxlength'=>45)); ?>
<div>
    <div> <?php echo $form->labelEx($model, 'college_state'); ?>
    </div>
    <div>
        <?php
        $this->widget('ext.bootstrap-select.TbSelect', array(
            'model' => $model,
            'attribute' => 'college_state',
            'data' => AmanState::listState($model->college_state),
            'htmlOptions' => array(
            //'multiple' => true,
            )
                )
        );
        ?>
    </div>
</div>
	<?php //echo $form->textFieldRow($model,'college_state',array('class'=>'span5','maxlength'=>20)); ?>

	<?php echo $form->textFieldRow($model,'hod_title',array('class'=>'span5','maxlength'=>15)); ?>

	<?php echo $form->textFieldRow($model,'hod_first_name',array('class'=>'span5','maxlength'=>20)); ?>

	<?php echo $form->textFieldRow($model,'hod_last_name',array('class'=>'span5','maxlength'=>20)); ?>

	<?php echo $form->textFieldRow($model,'hod_email',array('class'=>'span5','maxlength'=>45)); ?>

	<?php echo $form->textFieldRow($model,'hod_phone_number_office',array('class'=>'span5','maxlength'=>15)); ?>

	<?php echo $form->textFieldRow($model,'hod_phone_number_residence',array('class'=>'span5','maxlength'=>15)); ?>

	<?php echo $form->textFieldRow($model,'hod_mobile_number',array('class'=>'span5','maxlength'=>10)); ?>

	<?php echo $form->textFieldRow($model,'hod_fax_number',array('class'=>'span5','maxlength'=>15)); ?>

	<?php echo $form->textFieldRow($model,'administrative_phone_number',array('class'=>'span5','maxlength'=>15)); ?>

	<?php echo $form->textFieldRow($model,'administrative_fax_number',array('class'=>'span5','maxlength'=>15)); ?>

	<?php echo $form->textFieldRow($model,'administrative_email',array('class'=>'span5','maxlength'=>45)); ?>

	<?php echo $form->textFieldRow($model,'affilating_university',array('class'=>'span5','maxlength'=>25)); ?>

	<?php echo $form->textFieldRow($model,'regulatory_authority',array('class'=>'span5','maxlength'=>45)); ?>

	<?php echo $form->textFieldRow($model,'student_total',array('class'=>'span5')); ?>

	<div class="form-actions1">
		<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>$model->isNewRecord ? 'Create' : 'Save',
		)); ?>
	</div>

<?php $this->endWidget(); ?>
<script type="text/javascript" language="javascript">
        $( document ).ready(function() {
            $(".well").hide();
        });
        </script>